//---------------------------------------------------------------------------

#ifndef busH
#define busH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "FIBDataSet.hpp"
#include "pFIBDataSet.hpp"
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <DBGrids.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ComCtrls.hpp>
#include <Menus.hpp>
//---------------------------------------------------------------------------
class TFormBus : public TForm
{
__published:	// IDE-managed Components
        TLabel *Label2;
        TpFIBDataSet *pFIBDataSetBus;
        TFIBBCDField *pFIBDataSetBusID;
        TFIBBCDField *pFIBDataSetBusID_MODELS;
        TFIBStringField *pFIBDataSetBusNUM_BODY;
        TFIBStringField *pFIBDataSetBusVIN;
        TFIBStringField *pFIBDataSetBusNUM_VR;
        TFIBDateField *pFIBDataSetBusDATE_VR;
        TFIBStringField *pFIBDataSetBusNUM_TS;
        TFIBDateField *pFIBDataSetBusDATE_TS;
        TpFIBDataSet *pFIBDataSetModels;
        TStringField *pFIBDataSetBusNameModels;
        TDBGrid *DBGrid1;
        TDBNavigator *DBNavigator1;
        TDataSource *DSBus;
        TPopupMenu *PopupMenuDoc;
        TMenuItem *N1;
        TMenuItem *N2;
        TMenuItem *N3;
        TMenuItem *N4;
        TMenuItem *N5;
        TMenuItem *N6;
        TMenuItem *N7;
        void __fastcall FormActivate(TObject *Sender);
        void __fastcall N1Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        unsigned long id_bus;
        __fastcall TFormBus(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormBus *FormBus;
//---------------------------------------------------------------------------
#endif
